const getStudentsInfo = async () => {
  const res = await axios({
    url: '/dashboard',
    method:'GET'
  })
  console.log(res);
  const { data: { overview } } = res
  // console.log(overview);
  document.querySelector('[name="salary"]').innerHTML = overview.salary
  document.querySelector('[name="student_count"]').innerHTML = overview.student_count
  document.querySelector('[name="age"]').innerHTML = overview.age
  document.querySelector('[name="group_count"]').innerHTML = overview.group_count
}

getStudentsInfo()
